<header class="main-header">
    <!-- Logo -->
    <a href="index2.html" class="logo">
        <!-- mini logo for sidebar mini 50x50 pixels --> <span class="logo-mini">后台</span>
        <!-- logo for regular state and mobile devices --> <span class="logo-lg">欧工团购系统</span> </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
        <!-- Sidebar toggle button-->
        <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button"> <span class="sr-only">转换导航</span> </a>
        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
                <!-- Messages: style can be found in dropdown.less-->
                <li class="dropdown messages-menu"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-envelope-o"></i> <span class="label label-success">4</span> </a>
                    <ul class="dropdown-menu">
                        <li class="header">你有四条消息</li>
                        <li>
                            <!-- inner menu: contains the actual data -->
                            <ul class="menu">
                                <li>
                                    <!-- start message --> <a href="#">
                                    <div class="pull-left">
                                        <img src="http://www.ogong.net/upimg/2016071811455068.png" class="img-circle" alt="User Image" />
                                    </div> <h4> 销售团队 <small><i class="fa fa-clock-o"></i> 5 分钟前</small> </h4> <p>用户登录...</p> </a> </li>
                                <!-- end message -->

                            </ul>
                        </li>
                        <li class="footer"><a href="#">查看所有消息</a></li>
                    </ul>
                </li>

                <!-- User Account: style can be found in dropdown.less -->
                <li class="dropdown user user-menu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <img src="/static/images/logo.png" class="user-image" alt="User Image" />
                        <span class="hidden-xs"><{$admin.nickname}></span>
                    </a>
                    <ul class="dropdown-menu">
                        <!-- User image -->
                        <li class="user-header">
                            <img src="/static/images/logo.png" class="img-circle" alt="User Image" />
                            <p> <{$admin.nickname}><small><!--角色--></small>
                            </p>
                        </li>
                        <!-- Menu Footer-->
                        <li class="user-footer">
                            <div class="pull-left">
                                <a href="#" class="btn btn-default btn-flat">资料</a>
                            </div>
                            <div class="pull-right">
                                <a href="<{:url('admin/login/logout')}>" class="btn btn-default btn-flat">退出</a>
                            </div>
                        </li>
                    </ul>
                </li>
                <!-- Control Sidebar Toggle Button -->
                <li> <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a> </li>
            </ul>
        </div>
    </nav>
</header>